package com.primaryedu.bean;

import java.util.List;

/**
 * Created by Thomas on 2018/2/2.
 */

public class VotelistBean {

    /**
     * result : 1
     * reason : 成功
     * data : {"pageNo":1,"pageSize":30,"count":4,"list":[{"id":"sdfhosgasdasdasdassdfgfgh","name":"2017年度优秀学生评选","description":"2017年度优秀学生评选","pic":"/upload/news/xw1.jpeg","createTime":"2018-02-01 20:47:12","endTime":"2018-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"},{"id":"sdfhosgdghfghksaddsdfgfgh","name":"2017年度优秀教师评选","description":"2017年度优秀教师评选","pic":"/upload/news/xw1.jpeg","createTime":"2018-02-01 20:47:12","endTime":"2018-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"},{"id":"dfgdgdasdasdasdasdfgdfgd","name":"2016年度优秀学生评选","description":"2016年度优秀学生评选","pic":"/upload/news/xw1.jpeg","createTime":"2017-02-01 20:47:12","endTime":"2017-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"},{"id":"dfhfgjasdasdasdasdfgdhjkhs","name":"2016年度优秀教师评选","description":"2016年度优秀教师评选","pic":"/upload/news/xw1.jpeg","createTime":"2017-02-01 20:47:12","endTime":"2017-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"}],"totalPage":1}
     */

    private int result;
    private String reason;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNo : 1
         * pageSize : 30
         * count : 4
         * list : [{"id":"sdfhosgasdasdasdassdfgfgh","name":"2017年度优秀学生评选","description":"2017年度优秀学生评选","pic":"/upload/news/xw1.jpeg","createTime":"2018-02-01 20:47:12","endTime":"2018-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"},{"id":"sdfhosgdghfghksaddsdfgfgh","name":"2017年度优秀教师评选","description":"2017年度优秀教师评选","pic":"/upload/news/xw1.jpeg","createTime":"2018-02-01 20:47:12","endTime":"2018-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"},{"id":"dfgdgdasdasdasdasdfgdfgd","name":"2016年度优秀学生评选","description":"2016年度优秀学生评选","pic":"/upload/news/xw1.jpeg","createTime":"2017-02-01 20:47:12","endTime":"2017-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"},{"id":"dfhfgjasdasdasdasdfgdhjkhs","name":"2016年度优秀教师评选","description":"2016年度优秀教师评选","pic":"/upload/news/xw1.jpeg","createTime":"2017-02-01 20:47:12","endTime":"2017-02-05 23:59:59","creatorId":"1","creatorName":"系统管理员"}]
         * totalPage : 1
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int totalPage;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : sdfhosgasdasdasdassdfgfgh
             * name : 2017年度优秀学生评选
             * description : 2017年度优秀学生评选
             * pic : /upload/news/xw1.jpeg
             * createTime : 2018-02-01 20:47:12
             * endTime : 2018-02-05 23:59:59
             * creatorId : 1
             * creatorName : 系统管理员
             */

            private String id;
            private String name;
            private String description;
            private String pic;
            private String createTime;
            private String endTime;
            private String creatorId;
            private String creatorName;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getCreatorId() {
                return creatorId;
            }

            public void setCreatorId(String creatorId) {
                this.creatorId = creatorId;
            }

            public String getCreatorName() {
                return creatorName;
            }

            public void setCreatorName(String creatorName) {
                this.creatorName = creatorName;
            }
        }
    }
}
